<?php
class Page{
	private $cfg = array(
			'currentPage' => 1,
			'itemPerPage' => 15,
			'totalItems' => 1,
			'range' => 5,
			);	
	public $totalPage;
	
	public function config( $cfg ){
		if( is_array($cfg) ){
			$this->cfg = array_combine($this->cfg,$cfg);
		}else{
			return false;
		}
	}

	public function init(){
		
		
	}

}
